#ifndef EYERWANDARTIST_EWAUITRACKHEADERVIDEO_HPP
#define EYERWANDARTIST_EWAUITRACKHEADERVIDEO_HPP

#include "EWAUITrackHeader.hpp"

namespace Eyer
{
    class EWAUITrackHeaderVideo : public EWAUITrackHeader
    {
    public:
        EWAUITrackHeaderVideo(EyerSmartPtr<EWAUITimelineContext> _timelineCtx, EWAUILayoutParams width, EWAUILayoutParams height);
        virtual ~EWAUITrackHeaderVideo();

        virtual int OnTrackUpdate (EWAPrjTimeline * timeline) override;

        virtual bool OnMousePressEvent      (const Vec2I & pos) override;
        virtual bool OnMouseReleaseEvent    (const Vec2I & pos) override;
        virtual bool OnMouseMoveEvent       (const Vec2I & pos) override;

        Vec2I pressPos;
        int originHeight = 0;

        bool firstMove = true;
    };
}

#endif //EYERWANDARTIST_EWAUITRACKHEADERVIDEO_HPP
